const path = require('path')

// 操作系统的用户目录
const USER_HOME =
  process.platform === 'win32' ? process.env.USERPROFILE : process.env.HOME

// 用户设置文件的路径
const USER_SETTINGS_FILE_PATH = path.join(USER_HOME, '.geng_game_sync.json')

module.exports = {
  USER_HOME,
  USER_SETTINGS_FILE_PATH
}
